.jd_index {
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    background: #eee;
    /* height:1000px; */
}

.jd_header {
    width: 100%;
    height: 40px;
    background: rgba(233, 35, 34, 0);
    /* background: #e92322; */
    /*如果给fixed，就会游览器为参考，放大的话会超出 所以会有max-width和min_width*/
    max-width: 640px;
    min-width: 320px;
    position: fixed;
    line-height: 40px;
    z-index: 999;
    /* filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f000000, endcolorstr=#7f000000); */
}

.jd_logo {
    width: 56px;
    height: 30px;
    position: absolute;
    left: 10px;
    top: 5px;
    background: url('../images/jd-sprites.png') no-repeat 0px -103px / 200px 200px;
}

.jd_login {
    position: absolute;
    right: 15px;
    top: 0;
    color: #fff;
    /* font-size: 16px; */
}

.jd_search {
    padding-left: 76px;
    padding-right: 50px;
    height: 32px;
}

.jd_search input {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding-left: 30px;
    /* position: absolute; */
    color: #666;
}

.jd_header::before {
    content: "";
    position: absolute;
    left: 82px;
    top: 12px;
    width: 23px;
    height: 20px;
    background: url('../images/jd-sprites.png') no-repeat -57px -110px / 200px 200px
}

/* banner */

.jd_banner {
    position: relative;
    overflow: hidden;
}

.bannerimg {
    position: relative;
    /* transition: all 1s linear; */
}

.jd_banner ul:first-of-type {
    /* 一张图片占100%，有八张图片 */
    width: 800%;
}

.jd_banner li {
    /* 都是以父亲为对象，这里不能用100%，否则每个li跟父亲一样宽；1/8 */
    width: 12.5%;
    float: left;
}

.jd_banner li img {
    width: 100%;
}

.jd_bannercircle {
    width: 128px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 3px;
}

.jd_bannercircle .current {
    background: #fff;
}

.jd_bannercircle li {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #fff;
    float: left;
    margin-right: 10px;
}

.jd_bannercircle li:last-of-type {
    margin-right: 0;
}

/* nav */

.jd_nav {
    background: #fff;
}

.jd_nav ul {
    padding: 10px 0;
}

.jd_nav li {
    width: 25%;
    float: left;
    text-align: center;
}

.jd_nav li img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    margin-top: 5px;
}

.jd_nav li p {
    /* margin-top:5px; */
    line-height: 25px;
}

/*京东超市*/

.jd_supermaket {
    background: #fff;
    /* border-bottom: 1px solid #ccc; */
    /* box-shadow: 0 1px 2px 3px #ccc; */
    /* margin-bottom:10px; */
}

.jd_supermaket .jd_ptip {
    height: 30px;
    line-height: 30px;
    color: #666;
    border-bottom: 1px solid #ccc;
    padding-left: 30px;
    position: relative;
}

.jd_supermaket .jd_ptip::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 14px;
    background: #e92322;
    left: 15px;
    top: 8px;
}

.jd_supermaket .jd_pcontent a {
    display: block;
    width: 50%;
}

.jd_supermaket .jd_pcontent a img {
    width: 100%;
}

.f-l {
    float: left;
}

.f-r {
    float: right;
}

.jd_supermaket .jd_pcontent a:nth-child(2),
.jd_supermaket .jd_pcontent a:nth-child(3) {
    border-left: 1px solid #ccc;
}

.jd_supermaket .jd_pcontent a:nth-child(3) {
    border-top: 1px solid #ccc;
}

.jd_sk {
    background: #fff;
}

.jd_sk .jd_ptip {
    height: 30px;
    line-height: 30px;
    margin-top: 15px;
}

.jd_sk .jd_pcontent a {
    width: 33.33%;
    display: inline-block;
    text-align: center;
}

.jd_sk .jd_pcontent a img {
    width: 60%;
    display: block;
    margin: 0 auto;
}

.jd_sk_icon {
    width: 16px;
    height: 20px;
    background: url("../uploads/seckill-icon.png");
    background-size: 16px 20px;
    margin-top: 3px;
    margin-left: 5px;
}

.jd_sk_text {
    margin: 0 10px 0 5px;
    color: #e92322
}

.jd_sk_time span {
    width: 13px;
    height: 18px;
    line-height: 18px;
    display: inline-block;
    background: #000;
    color: #fff;
    text-align: center;
}

.jd_sk_time span:nth-child(3n) {
    background: transparent;
    color: #000;
    width: 3px;
}

.jd_sk_more {
    margin-right: 10px;
}